package com.fortune.vo.authority;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fortune.entity.AuthorityDo;

import java.util.List;

public class AuthoritySecondMVo {
	private String id;
	private String pid;
	private String name;
	private String url;
	@JsonProperty(value="children")
	private List<AuthorityDo> authorityMVos;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public List<AuthorityDo> getAuthorityMVos() {
		return authorityMVos;
	}

	public void setAuthorityMVos(List<AuthorityDo> authorityMVos) {
		this.authorityMVos = authorityMVos;
	}

	@Override
	public String toString() {
		return "AuthoritySecondMVo{" +
				"id='" + id + '\'' +
				", pid='" + pid + '\'' +
				", name='" + name + '\'' +
				", url='" + url + '\'' +
				", authorityMVos=" + authorityMVos +
				'}';
	}
}
